"""mydjango URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import path
from user.views import *
from mydjango.settings import FILE_URL, FILE_ROOT

urlpatterns = [
    path('admin/', admin.site.urls),
    path('user/', UserView.as_view()),
    path('file_upload/', FileUpload.as_view()),
    path('login/', LoginView.as_view()),
    path('loginlen/', LoginLen),
    path('logins/', lens),
    path('money/', MyEcharts.as_view()),
    path('rtmoney/', RTExchangeRate),
    path('vzf/', wx_pay.as_view()),
    path('palpay/', Payment.as_view()),
    path('order/', OrderView.as_view()),
    path('orderid/', OrderId),
    path('good/', GoodView),
    path('ranking/', RankingListView),
    path('rankingadd/', RankingListAddView),
    path('trorderadd/', TransactionOrderAdd),
    path('troder/', TransactionOrderView.as_view()),
] + static(FILE_URL, document_root=FILE_ROOT)
